@import url("chrome://komodo/skin/global/colors.less");
@import url("resource://profile/colors.less");

:root.primary-scheme
{
    #deleteScheme,
    #save
    {
        visibility: collapse;
    }
}

view
{
    border: 1px solid @background !important;
}

.primary_menu_item label[value]:after
{
    content: "*";
}

#schemeslist menuitem
{
    border-radius: 0;
}

#schemeslist menuseparator
{
    margin: 5px 0;
}

#schemeslist label
{
    font-family: inherit;
}

#content
{
    #fontlist label,
    #fontlist .menulist-label-box,
    #iface-face label,
    #iface-face .menulist-label-box
    {
        font-family: inherit;
    }
    
    #languageList
    {
        margin-bottom: 5px;
    }
    
    #propertyEditor .groupbox-body
    {
        margin: 0 5px !important;
    }
    
    [field]
    {
        visibility: collapse;
        margin: 0 0 10px 0;
        -moz-box-align: center;
        
        & > description
        {
            width: 100px;
        }
        
        & > checkbox
        {
            margin-left: 100px;
        }
    }
    
    .icon-bold,
    .icon-italic
    {
        min-width: 0;
        font-size: 12px;
    }
    
    button, textbox, menulist, checkbox
    {
        margin: 0 !important;
        padding: 2px !important;
    }
    
    button
    {
        padding: 4px !important;
    }
    
    button.colorpicker
    {
        min-width: 20px;
        min-height: 20px;
    }
    
    richlistitem[selected="true"]
    {
        color: @selected-foreground !important;
        background: @selected !important;
        text-decoration: underline;
        font-weight: bold;
    }
    
    .styleguide
    {
        font-weight: bold;
        margin-right: 4px;
        padding-left: 4px;
        padding-right: 4px;
        text-decoration: none !important;
    }
}

panel.scheme-apply
{
    padding: 15px;
    background: @contrast;
    
    checkbox
    {
        margin: 0;
    }
    
    hbox.checkboxes
    {
        margin-left: 15px;
    }
    
    hbox.buttons
    {
        -moz-box-align: center;
        -moz-box-pack: center;
    }
}